package com.ant.storage.controller;

import com.ant.storage.common.ResultPage;
import com.ant.storage.dto.MonthlyDto;
import com.ant.storage.dto.PurchaserRecordDto;
import com.ant.storage.service.IPurchaserRecordImgService;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author hzd
 * @version 1.0
 * @date 2022/5/19 14:50
 */
@RestController
@RequestMapping("/purchaserRecordImg")
public class PurchaserRecordImgController {

    @Autowired
    private IPurchaserRecordImgService imgService;

    @ApiOperation(value = "申请人获取供应商月结结算信息")
    @GetMapping("/getPurchaserRecordImg")
    private ResultPage getPurchaserRecordImg(PurchaserRecordDto dto) {
        return ResultPage.success("查询成功", imgService.finsPurchaserRecordImg(dto));
    }
}
